set -x

docker run --rm --name logstash-docker -e LOGSTASH_ELASTICSEARCH="http://kube-master:30703" -v "$PWD":/configdir -v /var:/hostvar dockerhub.ygsoft.com:5000/logstash:5.1.1 -f /configdir/docker.conf --log.level debug